@namespace html url("http://www.w3.org/1999/xhtml");
datepicker,
timepicker{
border:none;
background:none;
cursor:default;
margin:2px 4px;
padding:0}

.datetimepicker-input-box{
-moz-appearance:textfield;
cursor:text;
-moz-margin-end:2px;
border:2px solid;
-moz-border-top-colors:ThreeDShadow ThreeDDarkShadow;
-moz-border-right-colors:ThreeDHighlight ThreeDLightShadow;
-moz-border-bottom-colors:ThreeDHighlight ThreeDLightShadow;
-moz-border-left-colors:ThreeDShadow ThreeDDarkShadow;
-moz-padding-start:4px;
-moz-padding-end:2px;
background-color:-moz-Field;
color:-moz-FieldText;
padding:2px 0 3px}

.datetimepicker-input-subbox{
width:1.6em}

html|*.datetimepicker-input{
text-align:right}

.datetimepicker-separator{
margin:0!important}

.datetimepicker-year{
width:3.2em}

datepicker[readonly="true"],
timepicker[readonly="true"]{
background-color:-moz-Dialog;
color:-moz-DialogText}

datepicker[disabled="true"],timepicker[disabled="true"]{
cursor:default;
background-color:-moz-Dialog;
color:GrayText}

.datepicker-mainbox{
border:2px solid;
-moz-border-top-colors:ThreeDShadow ThreeDDarkShadow;
-moz-border-right-colors:ThreeDHighlight ThreeDLightShadow;
-moz-border-bottom-colors:ThreeDHighlight ThreeDLightShadow;
-moz-border-left-colors:ThreeDShadow ThreeDDarkShadow;
background-color:-moz-Field;
color:-moz-FieldText;
margin:2px 4px}

.datepicker-popupgrid > .datepicker-mainbox{
border:none;margin:0}

.datepicker-gridlabel,.datepicker-weeklabel{
text-align:center}

.datepicker-gridlabel[today="true"]{
background-color:darkgrey;
color:#FFF}

.datepicker-gridlabel[selected="true"]{
background-color:Highlight;
color:HighlightText}

.datepicker-button{
-moz-appearance:none;
min-width:8px;
padding:0}

.datepicker-previous{
list-style-image:url("chrome://global/skin/arrow/arrow-lft.gif")}

.datepicker-next{
list-style-image:url("chrome://global/skin/arrow/arrow-rit.gif")}

.datepicker-previous:hover{
list-style-image:url("chrome://global/skin/arrow/arrow-lft-hov.gif")}

.datepicker-next:hover{
list-style-image:url("chrome://global/skin/arrow/arrow-rit-hov.gif")}

.datepicker-previous[disabled="true"]{
list-style-image:url("chrome://global/skin/arrow/arrow-lft-dis.gif")}

.datepicker-next[disabled="true"]{
list-style-image:url("chrome://global/skin/arrow/arrow-rit-dis.gif")}

.datepicker-previous[chromedir="rtl"]{
list-style-image:url("chrome://global/skin/arrow/arrow-rit-hov.gif")}

.datepicker-next[chromedir="rtl"]{
list-style-image:url("chrome://global/skin/arrow/arrow-lft.gif")}

.datepicker-next[chromedir="rtl"]:hover{
list-style-image:url("chrome://global/skin/arrow/arrow-lft-hov.gif")}

.datepicker-previous[disabled="true"][chromedir="rtl"]{
list-style-image:url("chrome://global/skin/arrow/arrow-rit-dis.gif")}

.datepicker-next[disabled="true"][chromedir="rtl"]{
list-style-image:url("chrome://global/skin/arrow/arrow-lft-dis.gif")}